<?php
// No directAcces
defined( '_AppBackMiage' ) or die( 'Restricted access' );
if(isAdministrateur ()){
    include_once (DS."backoffice/include/header.php");

    if(isset($_GET['uid']) && !empty($_GET['uid']))
    {
        $categorie = new Categorie($_GET['uid']);
    }
    else
    {
        redirectTo(URLBACK."_portailcategorie_list");
    }
    ?>
    <?php

    include_once( DS."backoffice/include/toppanel_portail.php");

    ?>
    <div id="wrapper">
    <div id="content">
        <div id="box">
            <h3 id="adduser"><?php echo $categorie->getNomCategorie(); ?></h3>
            <form id="form" method="post">
                <fieldset id="personal">
                    <b>Description : </b> <?php echo $categorie->getDescriptionCategorie(); ?>
                    <br />
            </form>
        </div>
    </div>
    <?php
    include_once (DS."backoffice/include/sidebar.php");
    include_once (DS."backoffice/include/footer.php");
}
else
{
    redirectTo(URLBACK);
}
?>